package hcn.protocol.brandnew.dengji.zaiyuan;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import ctd.util.xml.jaxb.DateTimeAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 获取住院患者列表-请求消息 - ODS_02090005
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class InHospitalListpatientRequest extends BaseRequest {

    /**
     * 医疗机构组织机构代码
     */
    @XmlElement(name = "VisitOrganization")
    private String visitOrganization;
    /**
     * 就诊标识
     */
    @XmlElement(name = "VisitId")
    private String visitId;
    /**
     * 住院号
     */
    @XmlElement(name = "HospizationId")
    private String hospizationId;
    /**
     * 科室代码
     */
    @XmlElement(name = "DeptCode")
    private String deptCode;
    /**
     * 病区代码
     */
    @XmlElement(name = "WardAreaId")
    private String wardAreaId;
    /**
     * 病房号
     */
    @XmlElement(name = "SickRoom")
    private String sickRoom;
    /**
     * 病床号
     */
    @XmlElement(name = "SickbedId")
    private String sickbedId;
    /**
     * 医生工号
     */
    @XmlElement(name = "DoctorId")
    private String doctorId;
    /**
     * 关键字搜索
     */
    @XmlElement(name = "InputCode")
    private String inputCode;
    /**
     * 每页条数
     */
    @XmlElement(name = "PageSize")
    private Long pageSize;
    /**
     * 分页页数
     */
    @XmlElement(name = "PageNo")
    private Long pageNo;
    /**
     * 日期类型
     */
    @XmlElement(name = "Datetype")
    private String datetype;
    /**
     * 开始时间
     */
    @XmlElement(name = "BeginDateTime")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginDateTime;
    /**
     * 结束时间
     */
    @XmlElement(name = "EndDateTime")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDateTime;

}
